import service from '@/utils/request'

// @Tags ProductStylesSign
// @Summary 创建款式资讯-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesSign true "创建款式资讯-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /productStylesSign/createProductStylesSign [post]
export const createProductStylesSign = (data) => {
  return service({
    url: '/productStylesSign/createProductStylesSign',
    method: 'post',
    data
  })
}

// @Tags ProductStylesSign
// @Summary 删除款式资讯-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesSign true "删除款式资讯-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesSign/deleteProductStylesSign [delete]
export const deleteProductStylesSign = (params) => {
  return service({
    url: '/productStylesSign/deleteProductStylesSign',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesSign
// @Summary 批量删除款式资讯-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除款式资讯-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesSign/deleteProductStylesSign [delete]
export const deleteProductStylesSignByIds = (params) => {
  return service({
    url: '/productStylesSign/deleteProductStylesSignByIds',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesSign
// @Summary 更新款式资讯-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesSign true "更新款式资讯-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /productStylesSign/updateProductStylesSign [put]
export const updateProductStylesSign = (data) => {
  return service({
    url: '/productStylesSign/updateProductStylesSign',
    method: 'put',
    data
  })
}

// @Tags ProductStylesSign
// @Summary 用id查询款式资讯-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.ProductStylesSign true "用id查询款式资讯-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /productStylesSign/findProductStylesSign [get]
export const findProductStylesSign = (params) => {
  return service({
    url: '/productStylesSign/findProductStylesSign',
    method: 'get',
    params
  })
}

// @Tags ProductStylesSign
// @Summary 分页获取款式资讯-标志图案工艺说明列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取款式资讯-标志图案工艺说明列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /productStylesSign/getProductStylesSignList [get]
export const getProductStylesSignList = (params) => {
  return service({
    url: '/productStylesSign/getProductStylesSignList',
    method: 'get',
    params
  })
}
